#pragma once
#include <iostream>
#include <sys/socket.h>
#include "InetAddr.hpp"

using namespace std;

class Test
{
public:
    Test()
    {}
    void testfunc(int sockfd, const string &str, struct sockaddr_in clientaddr)
    {
        // cout << "hahahahaha" << endl;
        sendto(sockfd, str.c_str(), str.size(), 0, (struct sockaddr*)&clientaddr, sizeof(clientaddr));
    }
    ~Test()
    {}
private:

};